﻿#region License
// /* **************************************************************
// * Copyright (C) intex Consulting GmbH - All Rights Reserved    *
// *--------------------------------------------------------------*
// * Unauthorized copying of this file, via any medium is         *
// * strictly prohibited                                          *
// *--------------------------------------------------------------*
// * Proprietary and confidential                                 *
// *--------------------------------------------------------------*
// * Dissasembling/modifications strictly prohibited!             *
// ***************************************************************/
#endregion
using System.Diagnostics.CodeAnalysis;

namespace ComHlp.ContentClasses.VirtualControls
{
    [SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
    public class ItxTextLabel
    {
        /// <summary> start y-coordinate </summary>
        public int StartY { get; set; }

        /// <summary> start x-coordinate </summary>
        public int StartX { get; set; }

        /// <summary> end x-coordinate </summary>
        public int Width { get; set; }

        /// <summary> end y-coordinate </summary>
        public int Height { get; set; }

        /// <summary> color number to use </summary>
        public int ColorNo { get; set; }

        /// <summary> Schrift (M = Font fürs Planbord; E, Y = Eingabefont; A = Konstantenfont;
        /// sonst = fixed Font) </summary>
        public string Property { get; set; }

        public string Text { get; set; }
        public string AlignmentStr { get; set; }
        public int Orientation { get; set; }

        /// <summary> if we receive 0 coordinates, we need to link it to the last CRECT </summary>
        public int LinkedColorRectangleIndex { get; set; } = -1;
    }
}
